package com.hopu.blb_erp.service;

import com.hopu.blb_erp.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hopu.blb_erp.entity.PageEntity;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author A-Zhang
 * @since 2021-11-18
 */
public interface IOrder2Service extends IService<Order2> {
    PageEntity<Order2ToBeProduced> findPage(int current, int pageSize, String orderId, String dealTime);
    Integer findCount();

    PageEntity<Order2> findPage(Integer current, Integer pageSize);

    //添加激光码
    void addOrder2(Order2 Order2);
    //批量删除激光码
    void removeOrder2(List<Integer> ids);
    //根据id查询激光码
    Order2 findOrder2ByOrderId(String orderId);
    //更改激光码
    void modifyOrder2(String orderId);
    //添加祖码
    void modifyZumaid(String  orderId, String zumaid);
//    //根据id查询激光码
//    Order2 findOrder2ById(Order2 Order2);
//
    //分页查询
    PageEntityP<Order2> findPPage(Integer current);
}
